﻿<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.evolutility.com" title="备品出库" icon="cube.gif" description="ExportOrImport">
  <data dbtable="MRP_ImportExport" splogin="asp.net membership" dbcolumnpk="ID" dbwhere="ExportOrImport=-1 and ExportType=2" sppaging="EvoSP_PagedItem @SQLselect, @SQLtable, @SQLfrom, @SQLwhere, @SQLorderby, @SQLpk, @pageid, @pagesize" />
  <panel userid="1" ppos="1" label="产品出库" width="100">
    <field id="36" type="text" typeid="5" label="出货单号" dbcolumn="BillNO" dbcolumnread="BillNO" supportsession="BBillNo" maxlength="128" readonly="0" required="1" optional="" fpos="10" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="155" type="lov" typeid="5" label="销售订单号" dbcolumn="OrderID" dependency="MaterialID" dbcolumnread="Order_OrderNo"
   dbtablelov="MRP_Order" dbcolumnreadlov="OrderCode" dbwherelovinsert="status='2' and OrderType=1" maxlength="0" readonly="0" required="1" optional="" fpos="30" search="1" searchadv="0" searchlist="1" height="1" width="20" />
   <field id="153"  type="lov" typeid="5" label="材料名称" dbcolumn="MaterialID" dbcolumnread="Name" dbcolumnreadlov="Name" dbwherelov="MRP_MaterialMain.MType=5" dbtablelov="MRP_MaterialMain" maxlength="2" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="154" type="integer" typeid="10" label="数量" dbcolumn="Quantity" dbcolumnread="Quantity" maxlength="8" readonly="0" required="1" optional="" fpos="20" search="1" searchadv="1" searchlist="1" height="1" width="20" />
    <field id="155" type="lov" typeid="5" label="出库类型" dbcolumn="ExportType" dbcolumnread="ExportType2"
   dbtablelov="View_ExportType_List" dbcolumnreadlov="DisplayText" defaultvalue="2" maxlength="0" readonly="1" required="1" optional="" fpos="30" search="0" searchadv="1" searchlist="0" height="1" width="50" />
    <field id="1155" type="lov" typeid="5" label="出库" dbcolumn="ExportOrImport" dbcolumnread="DisplayText"
       dbtablelov="View_ExportOrImport_List" dbcolumnreadlov="DisplayText" defaultvalue="-1" maxlength="0" readonly="1" required="1" optional="" fpos="30" search="0" searchadv="1" searchlist="0" height="1" width="20" />
    <field id="158" type="date" typeid="17" defaultvalue="_now" label="录入时间" format="{0:d}" dbcolumn="CreatedDate" dbcolumnread="CreatedDate" maxlength="4" readonly="0" required="" optional="" fpos="60" search="1" searchadv="1" searchlist="1" height="1" width="30" />
    <field id="156" type="textmultiline" typeid="6" label="备注" dbcolumn="Note" dbcolumnread="Note" maxlength="256" readonly="0" required="" optional="" fpos="40" search="1" searchadv="1" searchlist="1" height="3" width="100" />
  </panel>
</form>